<div class="nav _bg_white tc">
    <ul class="navlist around">

        <li class="navitem tran3">
            <a class="<?php if(strpos($_SERVER['PHP_SELF'],'/index.php')) echo ' _active_primary'; ?>" href="./index.php">
                <p class="navicon"><span class="ion-ios-home-outline tran3"></span></p>
                <p class="navtext">首页</p>
            </a>
        </li>

        <li class="navitem tran3">
            <a class="<?php if(strpos($_SERVER['PHP_SELF'],'/course.php')) echo ' _active_primary'; ?>" href="./course.php?t=1">
                <p class="navicon"><span class="ion-ios-book-outline tran3"></span></p>
                <p class="navtext">课程</p>
            </a>
        </li>

        <li class="navitem tran3">
            <a class="<?php if(strpos($_SERVER['PHP_SELF'],'/trainroom.php')) echo ' _active_primary'; ?>" href="./trainroom.php">
                <p class="navicon"><span class="ion-settings tran3"></span></p>
                <p class="navtext">实训室</p>
            </a>
        </li>

        <li class="navitem tran3">
            <a class="<?php if(strpos($_SERVER['PHP_SELF'],'/message.php')) echo ' _active_primary'; ?>" href="./message.php">
                <p class="navicon"><span class="ion-ios-email-outline tran3"></span></p>
                <p class="navtext">消息</p>
            </a>
        </li>

        <li class="navitem tran3">
            <a class="<?php if(strpos($_SERVER['PHP_SELF'],'/profile.php')) echo ' _active_primary'; ?>" href="./profile.php">
                <p class="navicon"><span class="ion-ios-person-outline tran3"></span></p>
                <p class="navtext">我的</p>
            </a>
        </li>

    </ul>
</div>